import com.qf.collection.Cat;
import com.qf.collection.MyCollection;

import java.util.*;

public class Main {
    public static void main(String[] args) {
        System.out.println("Hello world!");
        int[] arr = {4,1,5,6,3};

        Arrays.sort(arr);
        System.out.println(arr);
        for (int i = 0; i < arr.length; i++) {
            System.out.println(arr[i]);
        }

        Cat[] catArr = new Cat[3];
        catArr[0] = new Cat("加菲猫",3);
        catArr[1] = new Cat("波斯猫",1);
        catArr[2] = new Cat("橘猫",2);

        Arrays.sort(catArr);



    }
}